-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][MIG] event_mail: Migration to 14.0 #238
Conversation
@sergio-teruel @chienandalu could you review, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
for scheduler in self.event_mail_template_id.scheduler_template_ids: | ||
vals.append( | ||
@api.depends("event_mail_template_id") | ||
def _compute_event_mail_ids(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpicking here but you could do this to split the water, it's slightly cleaner:
records = self.filtered("event_mail_template_id")
without_template = self - records
Currently translated at 100.0% (22 of 22 strings) Translation: event-10.0/event-10.0-event_mail Translate-URL: https://translation.odoo-community.org/projects/event-10-0/event-10-0-event_mail/fr/
Currently translated at 100.0% (22 of 22 strings) Translation: event-10.0/event-10.0-event_mail Translate-URL: https://translation.odoo-community.org/projects/event-10-0/event-10-0-event_mail/es/
787b4c7
to
29e8c6d
Compare
@ivantodorovich changes done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR has the |
/ocabot migration event_mail /ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 235e869. Thanks a lot for contributing to OCA. ❤️ |
Cc @Tecnativa TT32127
Main changes: